home *** CD-ROM | disk | FTP | other *** search
- Path: news.compuserve.com!newsmaster
- From: <.,@compuserve.com>
- Newsgroups: comp.lang.c++
- Subject: c++
- Date: 24 Mar 1996 04:52:25 GMT
- Organization: CompuServe Incorporated
- Message-ID: <4j2ke9$4qu@arl-news-svc-3.compuserve.com>
- NNTP-Posting-Host: ad28-178.compuserve.com
- Content-Type: text/plain
- Content-length: 718
- X-Newsreader: AIR Mosaic (16-bit) version 4.00.08.32
-
-
- >> What is the difference between c and c++.
-
-
- actually quite a bit.
- The error checking in c++ is much stronger.
-
- Classes in c++ contain functions, variables, special functions like
- constructors. This gives the class the ability to recieve messages
- and figure out to handle them itself.
-
- Inheritance in c++ adds to the ability to reuse code. You can
- derive your new class from another class instead of starting over.
-
- Polymorphism, a hard topic to understand.
-
- Encapsulation. Keeping all the data private and protected. This
- helps in creating a large and complex project.
-
- I personally think c++ is much better than C.
-
- And there is a lot more to c++ than just these few things.
-
-